﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace gt.IdentityServer.Data
{
    /// <summary>
    /// 用户权限mapping
    /// </summary>
    public class AppUserRoleMapping
    {
        /// <summary>
        /// User主键
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// Role主键
        /// </summary>
        public int RoleId { get; set; }

        public AppUser User { get; set; }
        public AppUserRole Role { get; set; }
    }
}
